// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PUR_RFQ
// * CreateDate    : 2014-06-05 18:30:26
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:26
// * LastChanger   : 2014-06-05 18:30:26
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class PurRfqTable : TableInfo
    {
		public const string C_TableName = "PUR_RFQ";
		
		public const string C_ID = "ID";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_RFQ_NO = "RFQ_NO";
		public const string C_PO_NO = "PO_NO";
		public const string C_CURRENCY = "CURRENCY";
		public const string C_REQ_QUOTE_DATE = "REQ_QUOTE_DATE";
		public const string C_PAYMENT_TYPE = "PAYMENT_TYPE";
		public const string C_IS_TAX = "IS_TAX";
		public const string C_REMARK = "REMARK";
		public const string C_STATUS = "STATUS";
		
		public PurRfqTable()
        {
            _tableName = "PUR_RFQ";
        }
		
		protected static PurRfqTable _current;
        public static PurRfqTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new PurRfqTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_RFQ_NO, new ColumnInfo(C_RFQ_NO,"RfqNo", false, typeof(string)));
            _current.Add(C_PO_NO, new ColumnInfo(C_PO_NO,"PoNo", false, typeof(string)));
            _current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY,"Currency", false, typeof(string)));
            _current.Add(C_REQ_QUOTE_DATE, new ColumnInfo(C_REQ_QUOTE_DATE,"ReqQuoteDate", false, typeof(DateTime)));
            _current.Add(C_PAYMENT_TYPE, new ColumnInfo(C_PAYMENT_TYPE,"PaymentType", false, typeof(string)));
            _current.Add(C_IS_TAX, new ColumnInfo(C_IS_TAX,"IsTax", false, typeof(int)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo RFQ_NO
        {
            get { return this[C_RFQ_NO]; }
        }
		
		public ColumnInfo PO_NO
        {
            get { return this[C_PO_NO]; }
        }
		
		public ColumnInfo CURRENCY
        {
            get { return this[C_CURRENCY]; }
        }
		
		public ColumnInfo REQ_QUOTE_DATE
        {
            get { return this[C_REQ_QUOTE_DATE]; }
        }
		
		public ColumnInfo PAYMENT_TYPE
        {
            get { return this[C_PAYMENT_TYPE]; }
        }
		
		public ColumnInfo IS_TAX
        {
            get { return this[C_IS_TAX]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

